#pragma once
#include<stdio.h>

void PrintArray(int* a, int n);
void swap(int* a, int * b);
void InsertSort(int* a, int n);
void ShellSort(int* a, int n);
void BubbleSort(int* a, int n);
void HeapSort(int* a, int n);
void SelectSort(int* a, int n);
int PartSort(int* a, int left, int right);
void QuickSort(int* a, int begin, int end);
int PartSort1(int* a, int left, int right);
void QuickSort1(int* a, int begin, int end);
int GetMid(int* a, int left, int right);
int PartSort2(int* a, int left, int right);
void QuickSort2(int* a, int begin, int end);